using System;
using System.Collections.Generic;

namespace SILAS.Entidades
{
    public class SAP
    {
        public SAP()
        {
            this.FuenteAguas = new List<FuenteAgua>();
            this.Sectors = new List<Sector>();
        }

        public int IdSAP { get; set; }
        public string Nombre { get; set; }
        public Nullable<System.DateTime> FecConstruccion { get; set; }
        public Nullable<int> NroPilPublicas { get; set; }
        public Nullable<int> NroFamBenef { get; set; }
        public Nullable<double> MontoInversion { get; set; }
        public Nullable<bool> SeClora { get; set; }
        public Nullable<int> IdInstSupervisora { get; set; }
        public Nullable<int> IdTipoSAP { get; set; }
        public Nullable<int> IdInstEjecutora { get; set; }
        public virtual InstEjecutora InstEjecutora { get; set; }
        public virtual InstSupervisora InstSupervisora { get; set; }
        public virtual TipoSAP TipoSAP { get; set; }
        public virtual ICollection<FuenteAgua> FuenteAguas { get; set; }
        public virtual ICollection<Sector> Sectors { get; set; }
    }
}
